home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20041116-20060924
/
000044_jdanskinner@jdanskinner.com_Fri Feb 4 09:15:51 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!logbridge.uoregon.edu!newspeer.monmouth.com!HSNX.atgi.net!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!hwmnpeer01.phx!hwmedia!hw-poster!fe06.lga.POSTED!53ab2750!not-for-mail
From: <jdanskinner@jdanskinner.com>
Newsgroups: comp.protocols.kermit.misc
References: <43185dc2.0502021125.3fa86bf1@posting.google.com>
Subject: Re: Read the buffer
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <1DfMd.24198$1h1.9394@fe06.lga>
X-Trace: dkoicekneficefklbgneboifjegelgbblfobmadechdedjdeiahondopcjchoebkakfdiilehngidnofiljfiefceckokmgendipabeecgocfchipbmfgacdjkefnliebcfagklmibllijll
NNTP-Posting-Date: Wed, 02 Feb 2005 19:02:37 MST
Date: Wed, 2 Feb 2005 20:00:25 -0600
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15278
There are many opportunities here but I'll assume you are issuing a unix
like command
which will give some kind of list you want to capture.
The following should be the core after establishing connection:
log session /* open session log
to hold the data */
lineout ls /* send ls command
to remote host */
input 0 a-string-you-will-never-receive /* you can create your own never
comming string */*/
/* but trust me
you need this */
log session close /* close the session log
before it gets cluttered
You should find the command ls echoed plus
the output of ls
in the file session.log in your working directory.
Regards...Dan.
"Mike" <Michael.Urzen@noaa.gov> wrote in message
news:43185dc2.0502021125.3fa86bf1@posting.google.com...
> Hi Everyone:
>
> I am dialing into a remote system using C-Kermit 8.0.211, logging in,
> and then issuing commands to receive data.
> This works well in interactive mode and I receive data back to my
> screen.
>
> I need to automate this process and capture the data to a file.
> Using a "kerbang" script, I issue the command to receive data but it
> does not appear on my screen. I searched the "debug.log" file, and
> found the data is going to a buffer.
>
> How do I retrieve data from the buffer and save it to a file?